package com.dicsystems.myrec.dto;

import java.io.Serializable;

import android.content.ContentValues;

@SuppressWarnings("serial")
public class Category implements Serializable {

	public String id;
	public String name;

	public Category() {}

	public Category(String id, String name) {
		this.id = id;
		this.name = name;
	}

	public Category(String[] category) {
		this.id = category[0];
		this.name = category[1];
	}

	public ContentValues get() {
		ContentValues values = new ContentValues();
		values.put("_id", this.id);
		values.put("name", this.name);
		return values;
	}
}
